/** @type {import("vuex").GetterTree} */
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  meunCode: state => state.user.menuCode,
  menuList: state => state.user.menuList,
  atomicCode: state => state.user.atomicCode,
  name: state => state.user.name,
  uid: state => state.user.uid,
  system: state => state.user.sys,
  introduction: state => state.user.introduction,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
}
export default getters
